#include <iostream>

using std::cout;
using std::endl;

class Outer
{
    private:
        int m_outerInt;
    public:
        Outer() {m_outerInt = 0;}
        void DisplayOut()
        {
            cout << m_outerInt << endl;
        }
    
    public:
        class Inner
        {
            private:
                int m_innerInt;
            public:
                Inner() {m_innerInt = 1;}
                void DisplayIn()
                {
                    m_outerInt = 100;
                    cout << m_innerInt << endl;
                }
        };
};

int main()
{
    Outer out;
    Outer::Inner in;
    out.DisplayOut();
    in.DisplayIn():

    return 0;
}
